﻿Ext.define('Gnt.examples.advanced.locale.zh_CN', {
    extend: 'Sch.locale.Locale',
    requires: 'Gnt.locale.zh_CN',
    singleton: true,

    l10n: {
        'Gnt.examples.advanced.Application': {
            error: '错误',
            requestError: '请求错误'
        },

        'Gnt.examples.advanced.view.ControlHeader': {
            previousTimespan: '上一时间跨度',
            nextTimespan: '下一时间跨度',
            collapseAll: '收起',
            expandAll: '展开',
            zoomOut: '缩小',
            zoomIn: '放大',
            zoomToFit: '自适应',
            viewFullScreen: '全屏',
            highlightCriticalPath: '高亮显示关键路径',
            addNewTask: '添加新任务',
            newTask: '新任务',
            removeSelectedTasks: '移除选中的任务',
            indent: '降级',
            outdent: '升级',
            manageCalendars: '管理日历',
            saveChanges: '保存',
            language: '语言: ',
            selectLanguage: '选择语言...',
            tryMore: '更多功能...'
        },

        'Gnt.examples.advanced.plugin.TaskContextMenu': {
            changeTaskColor: '更换颜色'
        },

        'Gnt.examples.advanced.view.GanttSecondaryToolbar': {
            toggleChildTasksGrouping: '切换子任务分组',
            toggleRollupTasks: '切换汇总任务',
            highlightTasksLonger8: '高亮显示大于8天的任务',
            filterTasksWithProgressLess30: '显示进度小于30%的任务',
            clearFilter: '清除过滤',
            scrollToLastTask: '滚动到最后一条任务'
        }
    },

    apply: function (classNames) {
        Gnt.locale.zh_CN.apply(classNames);
        this.callParent(arguments);
    }

});
